package com.jbm.onehome.iface;

import javax.persistence.Transient;
import com.jbm.core.iface.IAcross;

/**
 * Created by lyh on 2017-02-22.
 */
public class IDownloadMedia extends IAcross
{
	public IDownloadMedia(IAcross ia)
	{
		super(ia);
	}

    public IDownloadMedia ()
    {
        super();
        this.folderid = 0;
        this.foldertype = "";
        this.media = new Media();
        this.bufferlen = 0;
    }
    public IDownloadMedia ( int folderid, String foldertype, Media media )
    {
        this.folderid = folderid;
        this.foldertype = foldertype;
        this.media = media;
        this.bufferlen = 0;
    }
    public int folderid;
    public String foldertype;
    public Media media;
    public byte[] buffer;
    public int bufferlen;
    private static final long serialVersionUID = 900001L;


    @Transient
    public boolean back;
    @Transient
    public String method;
    @Transient
    public String errorinfo;
    @Transient
    public int count;
    @Transient
    public int start=0;
    @Transient
    public int pagesize=0;
    @Transient
    public Integer tableid;
}